package com.estate.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.estate.mapper.PostMapper;
import com.estate.pojo.Post;

@Service
public class PostServiceImpl implements PostService {
	
	@Autowired
	private PostMapper postMapper;

	public List<Post> queryPost() {
		return postMapper.getPost();
	}

	

}
